package com.fishery.customization.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

@ApiModel(value = "标签顺序对象")
public class LabelSequence {

	@ApiModelProperty(value = "一级标签id")
	@Field(value = "parent_id")
	private String parentId;

	@ApiModelProperty(value = "二级标签id集合")
	@Field(value = "children_ids")
	private List<String> childrenIds;

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public List<String> getChildrenIds() {
		return childrenIds;
	}

	public void setChildrenIds(List<String> childrenIds) {
		this.childrenIds = childrenIds;
	}
}
